{
    function* arrayGenerator() {
        yield [1, 2]
        yield [3, 4]
        yield [5, 6]
    }

    let gen = arrayGenerator()
    let array1 = gen.next().value
    let array2 = gen.next().value
    console.log(array1)
    console.log(array2)
}


const person = {
    name: "Mike",
    sayHello: function () {
        return "Hello, " + this.name
    }
}

const greet = person.sayHello
console.log(greet())
